/*
 * @Descripttion: 
 * @version: @ 1.0.0
 * @Author: 朱江洲
 * @Date: 2022-04-29 13:46:36
 * @LastEditors: 朱江洲
 * @LastEditTime: 2022-04-29 16:36:23
 */
/*
 * @Descripttion: 
 * @version: @ 1.0.0
 * @Author: 朱江洲
 * @Date: 2022-04-28 13:02:29
 * @LastEditors: 朱江洲
 * @LastEditTime: 2022-04-28 17:46:13
 */
import request from "@/utils/request.js";

// 获取列表
export const getCalendar = data => {
    return request({
        method: 'post',
        url: `/serviceProvide/calendar/getCalendar`,
        data
    })
}

// 新增
export const insertCal = data => {
    return request({
        method: 'post',
        url: `/serviceProvide/calendar/insert`,
        data
    })
}

// 修改
export const updateCal = data => {
    return request({
        method: 'post',
        url: `/serviceProvide/calendar/update`,
        data
    })
}

// - 删除
export const deleteCal = params => {
    return request({
        method: 'get',
        url: `/serviceProvide/calendar/delete`,
        params
    })
}

// - 开会详情
export const attendInfo = params => {
    return request({
        method: 'get',
        url: `/serviceProvide/calendar/select`,
        params
    })
}
// - 日历中模块详情
export const detailInfo = params => {
    return request({
        method: 'get',
        url: `/serviceProvide/calendar/getInfo`,
        params
    })
}